// Is it a server window ? if (GetWindowType(GetCurrentWindowName())==1) /who * o endif // Is it a channel window ? if (GetWindowType(GetCurrentWindowName())==2) /banlist return endif // Is it a query window ? if (GetWindowType(GetCurrentWindowName())==3) /whois %GetCurrentWindowName()% return endif // in DCC , this event is NOT processed